﻿using System;
using System.Collections.Generic;
using System.Web;
using Exam.Core;

/// <summary>
///ExamSys 的摘要说明
/// </summary>
public class ExamSys
{
	public ExamSys(){}

    /// <summary>
    /// 
    /// </summary>
    public static string ExamSysName = Exam.Core.DBUtility.XmlHelper.GetXmlNodeByXpath(FilePath.sysConfigPath, "//root/sysname").InnerText.Trim();
    public static string ExamSysDesc = Exam.Core.DBUtility.XmlHelper.GetXmlNodeByXpath(FilePath.sysConfigPath, "//root/sysdesc").InnerText.Trim();
    public static string ExamSysCopyright = Exam.Core.DBUtility.XmlHelper.GetXmlNodeByXpath(FilePath.sysConfigPath, "//root/syscopyright").InnerText.Trim();

    public static string ExamType = "1";//答题形式 1-一道题一道题目考试 2=一张卷子考试

    public static string cookies_name = "examsyscookie";
    public static string teacher_cookiesname = "teacherexamsyscookie";
    public static string admin_cookiesname = "adminexamsyscookie";
    //public static string currentpaper = Tools.ReadText("~/App_Data/currentpaper.txt");
}